package dao.impl;

import dao.NewsDao;
import dao.impl.NewsDaoMySqlImpl;
import demo.AbstractFactory;

public class MySqlDaoFactory implements AbstractFactory {
    @Override
    public NewsDao getInstance() {
        return new NewsDaoMySqlImpl();
    }
}
